<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <%@ include file="/common/client/header.jsp" %>
    <title>趣买买</title>
</head>
<c:if test="${requestScope.sel==null}">
    <jsp:forward page="/tclassify/selall"></jsp:forward>
</c:if>
<body>
<%@ include file="/common/client/searchBar.jsp" %>
<!--End Header End-->
<!--Begin Menu Begin-->
<div class="menu_bg">
    <div class="menu">
        <!--Begin 商品分类详情 Begin-->
        <div class="nav">
            <div class="nav_t">全部商品分类</div>
            <div class="leftNav">
                <ul>
                    <c:forEach items="${requestScope.sel.tclassifys}" var="s">
                        <li>
                            <div class="fj">
                                <span class="n_img"><span></span><img src="/statics/images/nav1.png" /></span>
                                <span class="fl">${s.classifyName}</span>
                            </div>
                            <div class="zj">
                                <div class="zj_l">
                                    <c:forEach items="${s.tclassifys}" var="s1">
                                    <div class="zj_l_c">
                                            <h2>${s1.classifyName}</h2>
                                            <c:forEach items="${s1.tclassifys}" var="s2">
                                                <a href="/goods/queryGoodsList?opr=id&id=${s2.id}">${s2.classifyName}</a>|
                                            </c:forEach>
                                    </div>
                                    </c:forEach>
                                </div>
                                <div class="zj_r">
                                    <a href="#"><img src="/statics/images/n_img1.jpg" width="236" height="200" /></a>
                                    <a href="#"><img src="/statics/images/n_img2.jpg" width="236" height="200" /></a>
                                </div>
                            </div>
                        </li>
                    </c:forEach>
                </ul>
            </div>
        </div>
        <!--End 商品分类详情 End-->
        <ul class="menu_r">
            <li><a href="/index.jsp">首页</a></li>
            <c:forEach items="${requestScope.sel.tclassifys}" var="t">
                <li><a href="/goods/queryGoodsList?opr=id&id=${t.id}">${t.classifyName}</a></li>
            </c:forEach>
        </ul>
        <div class="m_ad">中秋送好礼！</div>
    </div>
</div>
<!--End Menu End-->
<div class="i_bg bg_color">
    <div class="i_ban_bg">
        <!--Begin Banner Begin-->
        <div class="banner">
            <div class="top_slide_wrap">
                <ul class="slide_box bxslider">
                    <li><img src="/statics/images/ban1.jpg" width="740" height="401" /></li>
                    <li><img src="/statics/images/ban1.jpg" width="740" height="401" /></li>
                    <li><img src="/statics/images/ban1.jpg" width="740" height="401" /></li>
                </ul>
                <div class="op_btns clearfix">
                    <a href="#" class="op_btn op_prev"><span></span></a>
                    <a href="#" class="op_btn op_next"><span></span></a>
                </div>
            </div>
        </div>
        <script type="text/javascript">
            //var jq = jQuery.noConflict();
            (function(){
                $(".bxslider").bxSlider({
                    auto:true,
                    prevSelector:jq(".top_slide_wrap .op_prev")[0],nextSelector:jq(".top_slide_wrap .op_next")[0]
                });
            })();
        </script>
        <!--End Banner End-->
        <div class="inews">
            <div class="news_t">
                <span class="fr"><a href="#">更多 ></a></span>新闻资讯
            </div>
            <ul>
                <li><span>[ 特惠 ]</span><a href="#">掬一轮明月 表无尽惦念</a></li>
                <li><span>[ 公告 ]</span><a href="#">好奇金装成长裤新品上市</a></li>
                <li><span>[ 特惠 ]</span><a href="#">大牌闪购 · 抢！</a></li>
                <li><span>[ 公告 ]</span><a href="#">发福利 买车就抢千元油卡</a></li>
                <li><span>[ 公告 ]</span><a href="#">家电低至五折</a></li>
            </ul>
            <div class="charge_t">
                话费充值<div class="ch_t_icon"></div>
            </div>
            <form>
                <table border="0" style="width:205px; margin-top:10px;" cellspacing="0" cellpadding="0">
                    <tr height="35">
                        <td width="33">号码</td>
                        <td><input type="text" value="" class="c_ipt" /></td>
                    </tr>
                    <tr height="35">
                        <td>面值</td>
                        <td>
                            <select class="jj" name="city">
                                <option value="0" selected="selected">100元</option>
                                <option value="1">50元</option>
                                <option value="2">30元</option>
                                <option value="3">20元</option>
                                <option value="4">10元</option>
                            </select>
                            <span style="color:#ff4e00; font-size:14px;">￥99.5</span>
                        </td>
                    </tr>
                    <tr height="35">
                        <td colspan="2"><input type="submit" value="立即充值" class="c_btn" /></td>
                    </tr>
                </table>
            </form>
        </div>
    </div>

    <c:forEach items="${requestScope.sel.tclassifys}" var="ts" varStatus="td">
        <div class="content mar_20">
            <img src="/statics/images/mban_1.jpg" width="1200" height="110" />
        </div>
        <div class="i_t mar_10">
            <span class="floor_num">${td.count}F</span>
            <span class="fl">${ts.classifyName}</span>
            <span class="i_mores fr">
                <c:forEach items="${ts.tclassifys}" var="ts1">
                    <a href="#">${ts1.classifyName}</a>&nbsp; &nbsp; &nbsp;
                </c:forEach>
        </div>
        <div class="content">
            <div class="fresh_left">
                <div class="fre_ban">
                    <div id="imgPlay1">
                        <ul class="imgs" id="actor1">
                            <li><a href="#"><img src="/statics/images/fre_r.jpg" width="211" height="286" /></a></li>
                            <li><a href="#"><img src="/statics/images/fre_r.jpg" width="211" height="286" /></a></li>
                            <li><a href="#"><img src="/statics/images/fre_r.jpg" width="211" height="286" /></a></li>
                        </ul>
                        <div class="prevf">上一张</div>
                        <div class="nextf">下一张</div>
                    </div>
                </div>
                <div class="fresh_txt">
                    <div class="fresh_txt_c">
                        <c:forEach items="${ts.tclassifys}" var="ts1">
                            <a href="/goods/queryGoodsList?opr=id&id=${ts1.id}">${ts1.classifyName}</a>
                        </c:forEach>
                    </div>
                </div>
            </div>
            <div class="fresh_mid">
                <ul>
                   <c:forEach items="${ts.tgoods}" var="good">
                       <li>
                           <div class="name"><a href="#">${good.goodsName}</a></div>
                           <div class="price">
                               <font>￥<span>${good.price}</span></font> &nbsp; 26R
                           </div>
                           <div class="img"><a href="/goods/selById?id=${good.id}"><img src="/files/${good.fileName}" width="185" height="155" /></a></div>
                       </li>
                   </c:forEach>
                </ul>
            </div>
            <div class="fresh_right">
                <ul>
                    <li><a href="#"><img src="/statics/images/fre_b1.jpg" width="260" height="220" /></a></li>
                    <li><a href="#"><img src="/statics/images/fre_b2.jpg" width="260" height="220" /></a></li>
                </ul>
            </div>
        </div>
    </c:forEach>

    <!--End 进口 生鲜 End-->



    <!--End Footer End -->
    <%@ include file="/common/client/footer.jsp" %>
</div>

</body>


<!--[if IE 6]>
<script src="//letskillie6.googlecode.com/svn/trunk/2/zh_CN.js"></script>
<![endif]-->
</html>
